package com.kgc.xs.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SalesQuotes implements Serializable {
    private int id;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date bjDate;
    private int cid;
    private String bjName;
    private int uid;
    private int status;
    private int totalQuantity;
    private BigDecimal totalAmount;
    private BigDecimal totalTaxValue;
    private String notes;
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    private int isDelete;
    private String doCode;
    private int did;
    private int typeId;
    private int checkmanId;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date checkTime;
    private String checkComment;

    //以下是查询出来的信息
    private String uidStr;
    private String didStr;
    private String cidStr;
    private String checkmanIdStr;



    public SalesQuotes() {


    }

    public SalesQuotes(int id, Date bjDate, int cid, String bjName, int uid, int status, int totalQuantity, BigDecimal totalAmount, BigDecimal totalTaxValue, String notes, String createBy, Date createTime, String updateBy, Date updateTime, int isDelete, String doCode, int did, int typeId, int checkmanId, Date checkTime, String checkComment, String uidStr, String didStr, String cidStr, String checkmanIdStr) {
        this.id = id;
        this.bjDate = bjDate;
        this.cid = cid;
        this.bjName = bjName;
        this.uid = uid;
        this.status = status;
        this.totalQuantity = totalQuantity;
        this.totalAmount = totalAmount;
        this.totalTaxValue = totalTaxValue;
        this.notes = notes;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.isDelete = isDelete;
        this.doCode = doCode;
        this.did = did;
        this.typeId = typeId;
        this.checkmanId = checkmanId;
        this.checkTime = checkTime;
        this.checkComment = checkComment;
        this.uidStr = uidStr;
        this.didStr = didStr;
        this.cidStr = cidStr;
        this.checkmanIdStr = checkmanIdStr;
    }

    public int getCheckmanId() {
        return checkmanId;
    }

    public void setCheckmanId(int checkmanId) {
        this.checkmanId = checkmanId;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckComment() {
        return checkComment;
    }

    public void setCheckComment(String checkComment) {
        this.checkComment = checkComment;
    }

    public String getCheckmanIdStr() {
        return checkmanIdStr;
    }

    public void setCheckmanIdStr(String checkmanIdStr) {
        this.checkmanIdStr = checkmanIdStr;
    }

    public String getUidStr() {
        return uidStr;
    }

    public void setUidStr(String uidStr) {
        this.uidStr = uidStr;
    }

    public String getDidStr() {
        return didStr;
    }

    public void setDidStr(String didStr) {
        this.didStr = didStr;
    }

    public String getCidStr() {
        return cidStr;
    }

    public void setCidStr(String cidStr) {
        this.cidStr = cidStr;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getBjDate() {
        return bjDate;
    }

    public void setBjDate(Date bjDate) {
        this.bjDate = bjDate;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getBjName() {
        return bjName;
    }

    public void setBjName(String bjName) {
        this.bjName = bjName;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(int totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalTaxValue() {
        return totalTaxValue;
    }

    public void setTotalTaxValue(BigDecimal totalTaxValue) {
        this.totalTaxValue = totalTaxValue;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public String getDoCode() {
        return doCode;
    }

    public void setDoCode(String doCode) {
        this.doCode = doCode;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }

    @Override
    public String toString() {
        return "SalesQuotes{" +
                "id=" + id +
                ", bjDate=" + bjDate +
                ", cid=" + cid +
                ", bjName='" + bjName + '\'' +
                ", uid=" + uid +
                ", status=" + status +
                ", totalQuantity=" + totalQuantity +
                ", totalAmount=" + totalAmount +
                ", totalTaxValue=" + totalTaxValue +
                ", notes='" + notes + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                ", doCode='" + doCode + '\'' +
                ", did=" + did +
                '}';
    }
}
